package com.net.xpay.core.model;

import com.net.xpay.common.enums.partner.PartnerCombinationSettleRecordType;
import com.net.common.model.PagedModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 2020/5/11 15:36

 */
@Getter
@Setter
@NoArgsConstructor
public class PartnerCombinationSettleRecordAggSearchModel extends PagedModel {

    /**
     * 勾选字段
     */
    @ApiModelProperty(notes = "勾选日期")
    private Boolean dayChecked;

    @ApiModelProperty(notes = "勾选合伙人编号")
    private Boolean partnerIdChecked;

    @ApiModelProperty(notes = "勾选商户ID")
    private Boolean userIdChecked;

    @ApiModelProperty(notes = "勾选下发类型")
    private Boolean typeChecked;

    @ApiModelProperty(notes = "勾选下发类型")
    private Boolean settledChecked;

    /**
     * 搜索字段
     */

    @ApiModelProperty(notes = "月份")
    private Integer month;

    @ApiModelProperty(notes = "年份")
    private Integer year;

    @ApiModelProperty(notes = "日期")
    private LocalDate day;

    @ApiModelProperty(notes = "用户编号")
    private Long userId;

    @ApiModelProperty(notes = "合伙人编号")
    private Long partnerId;

    @ApiModelProperty(notes = "下发类型")
    private PartnerCombinationSettleRecordType type;

    @ApiModelProperty(notes = "最低成功金额")
    private BigDecimal minSuccessAmount;
}
